
import 'package:flutter_lib/utils/LogUtils.dart';
import 'package:flutter_my_web/net/BaseResponse.dart';

class UpImageFileResponse extends BaseResponse{
  String? info;
  UpImageFileData data = UpImageFileData();
  @override
  fromJson(Map<String, dynamic>? json) {
    this.status = json!['status'].toString();
    this.info = json['info'].toString();
    data.fromJson(json['data']);
  }

}

class UpImageFileData{
  List<String> data = [];
  @override
  fromJson(Map<String, dynamic> json) {
    if (json['data']!=null){
      String listStr = json['data'].toString();
      LogUtils.e("listStr:" + listStr);
      // String listStr = json['data'] as List;
      var scores = json['data'] as List<dynamic>;
      scores.forEach((element) {
        data.add(element.toString());
      });
    }
  }

}
